
<script type="text/javascript">
window.onload = function() {
	setInterval(function(){
		var time = parseInt(document.getElementById('time').innerHTML);
		time -= 1;
		if (time == 0) {
			location.href = document.getElementById('url').href;
		} else {
			document.getElementById('time').innerHTML = time;
		}

	}, 1000);
}
</script>

<h1><span class="action-span1">后台管理中心 - 信息提示</span><div style="clear:both"></div></h1>
<div class="main-div">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="6%">&nbsp;</td>
		<td width="9%" align="right"><img src="/images/admin/tips.png" /></td>
		<td width="85%" height="60">&nbsp;<span style="font-size:14px; font-weight:bold"><?php echo $this->params['msg'];?></span></td>
	</tr>
	<tr>
		<td height="31">&nbsp;</td>
		<td>&nbsp;</td>
		<td style="color:#999999"><span id="time">3</span>秒后将自动跳转到 <a id="url" style="color:#cccccc" href="<?php echo $this->params['uri'];?>" target="_self" title="点击跳转到此处"><?php echo $this->params['uri'];?></a> </td>
	</tr>
</table>
</div>


<script type="text/javascript">
<?php
/*
if (count($this->params)) {
    $str = NULL;
    $msgTitle = '<b>System Message '. $this->params['type'] .'</b><hr size=1><br/>';
    $msgInfo = $msgTitle . "<p><b>温馨提示：</b>" . $this->params['msg']. "</p>";
    switch ($this->params['type']) {
        case 'Error' :
            $str = "Sexy.error('{$msgInfo}')";
            break;
        case 'Warning' :
            $str = "Sexy.alert('{$msgInfo}')";
            break;
        default :
            $str = "Sexy.info('{$msgInfo}')";
            break;
    }

    echo 'var nextUrl = "'. urldecode($this->params['uri']) .'";';
    echo '$(document).ready(function(){' . $str . '});';
}
 */
?>
</script>

